package com.intellagric.dao.product;

import com.intellagric.pojo.Product;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ProductDao {
    int batchDeleteByPrimaryKey(String[] ids);

    int batchInsert(@Param("params") List<String> param);

    List<Product> selectList();

    List<Product> selectListByCategory(String categoryId);

    List<Product> selectListByKeyword(String keyword);

    int getSum(@Param("year") String year, @Param("month") String month);


}
